package com.hgb.mall.admin.services.impl;


import com.hgb.mall.admin.services.CmsPreferenceAreaService;
import com.hgb.mall.mbg.entity.CmsPreferenceArea;
import com.hgb.mall.mbg.mapper.CmsPreferenceAreaMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 商品优选Service实现类
 * Created by hgb on 2020/6/1.
 */
@Service
public class CmsPreferenceAreaServiceImpl implements CmsPreferenceAreaService {
    @Autowired
    private CmsPreferenceAreaMapper preferenceAreaMapper;

    @Override
    public List<CmsPreferenceArea> listAll() {
        return preferenceAreaMapper.select(c -> c);
    }
}
